<template>
  <div class="badge-box">
    <div class="badge-item">
      <CloudBadge :count="5" :offset="offset" title="hover文字Hover文字">
        <div>变更通知</div>
      </CloudBadge>
    </div>
  </div>
</template>

<script>
  export default {
    title: '4.自定义标题',
    subTitle: '设置鼠标放在状态点上时显示的文字',
    data () {
      return {
        offset: [5, -5]
      }
    },
    methods: {
    }
  }
</script>

<style lang="scss">
  .badge-box {
    display: flex;
  }
  .badge-item {
    padding: 0 20px;
  }
</style>